package com.shu.single_responsibility;

public class Method {
    private void updateUserInfo(String userName,String address){
        userName="shu";
        address="shanghai";
    }

    private void updateUserName(String userName){
        userName="shu";
    }

    private void updateAddress(String address){
        address="shanghai";
    }
}
